﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace littleAdminHelper
{
    abstract class Dumper
    {
        
        protected String path = Environment.GetEnvironmentVariable("Temp");
        protected String filename;
        protected String text = "";

        abstract public void addText(String input);
        abstract public void dump();

        public void flushText()
        {
            this.text = "";
        }
        public String showText()
        {
            return this.toString();
        }
        public String getPath()
        {
            return this.path;
        }
        public void setPath(String path)
        {
            this.path = path;
        }
        public String getFilename()
        {
            return this.filename;
        }
        public void setFilename(String filename)
        {
            this.filename = filename;
        }
        public abstract String toString();

        

    }
}
